//
//  RefreshCollectionView.h
//  Behing
//
//  Created by Lj on 2017/11/28.
//  Copyright © 2017年 lj. All rights reserved.
//
@protocol CollectionRefreshDelegate <NSObject>

@required

- (void)collectionView:(UICollectionView *)collectionView Refresh:(BOOL)refresh PageCount:(NSInteger)pageCount;

@optional

@end

#import <UIKit/UIKit.h>
#import "MJRefresh.h"

@interface RefreshCollectionView : UICollectionView

@property (nonatomic, assign) id <CollectionRefreshDelegate> refreshDelegate;
/** footer */
@property (nonatomic, strong) MJRefreshBackNormalFooter *refreshFooter;
//是否刷新
@property (nonatomic, assign) BOOL isRefresh;
/** 没有更多数据 */
- (void)endRefreshingWithNoMoreData;
/** 马上进入刷新状态 */
- (void)beginRefreshing;
/** 刷新数据 */
- (void)headerRefresh;

@end
